/**
 * homeAction
 */

import * as types from './actionTypes';
import Util from '../common/util';

export function add(name) {
	return {
		type: types.ADD_NAME,
		name
	}
}

export function initdata() {
	let name = "张三李四";

	return {
		type: types.INIT_DATA,
		name: name
	}
}